<%--
  Created by IntelliJ IDEA.
  User: hubaokun
  Date: 1/16/15
  Time: 6:17 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.tucue.model.User" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="st" uri="http://www.springframework.org/tags" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<html>
<head>
  <meta charset="UTF-8">
  <title>Basic Form - jQuery EasyUI Demo</title>
  <link rel="stylesheet" type="text/css" href="/easyui/themes/default/easyui.css">
  <link rel="stylesheet" type="text/css" href="../js/easyui/themes/default/easyui.css">
  <link rel="stylesheet" type="text/css" href="../js/easyui/themes/icon.css">
  <link rel="stylesheet" type="text/css" href="../js/easyui/demo/demo.css">
  <script type="text/javascript" src="../js/easyui/jquery.min.js"></script>
  <script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
</head>

<body>

<fmt:setLocale value="zh_cn"/>
<form id="ff" action="/mytest" method="post">


UserName:<input type="text" name="name" id="name" value="name"  class="easyui-textbox" data-options="required:true" /><br/>

realFullName:<input type="text" name="realfullname" id="realfullname" value="realfullname"  class="easyui-textbox" data-options="required:true" /><br/>

Email:<input type="text" name="email" id="email" value="hubkbuct@163.com"  class="easyui-textbox" data-options="required:true,validType:'email'" /><br/>

password:<input type="text" name="password" id="password" value="password"  class="easyui-textbox" data-options="required:true" /><br/>

type:<input type="text" name="type" id="type" value="1"  class="easyui-textbox" data-options="required:true" /><br/>

company:<input type="text" name="company" id="company" value="company"  class="easyui-textbox" data-options="required:true" /><br/>

<%--parkID:<input type="text" name="parkid" id="parkid"/><br/>--%>

department:<input type="text" name="department" id="department" value="department"  class="easyui-textbox" data-options="required:true" /><br/>

position:<input type="text" name="position" id="position" value="position"  class="easyui-textbox" data-options="required:true" /><br/>

mobile:<input type="text" name="mobile" id="mobile" value="15088600199"  class="easyui-textbox" data-options="required:true" /><br/>

<%--status:<input type="text" name="status" id="status"/><br/>--%>

<%--<input type="submit" value="确定">--%>
  <input type="submit" value="submit"/>
<%--<div style="text-align:center;padding:5px">--%>
  <%--<a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()">Submit</a>--%>
  <%--<a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearForm()">Clear</a>--%>
<%--</div>--%>

<%--<sf:errors path="*"></sf:errors>--%>

</form>


<%--<script>--%>
  <%--function submitForm(){--%>
    <%--$('#ff').form('submit');--%>
  <%--}--%>
  <%--function clearForm(){--%>
    <%--$('#ff').form('clear');--%>
  <%--}--%>
<%--</script>--%>

</body>